package com.xinnet.mms.authip.dao.impl;

import org.springframework.stereotype.Repository;

import com.xinnet.mms.authip.dao.AuthIpDao;
import com.xinnet.mms.entity.AuthIp;

@Repository("authIpDao")
public class AuthIpDaoImpl extends BaseDaoImpl<AuthIp, Long> implements AuthIpDao {

	
	/**
	 * 根据ip地址查是否存在ip认证记录
	 */
	@Override
	public AuthIp getAuthIpByIp(AuthIp ip) {
		return this.getSqlSession().selectOne("authip.getAuthipById",ip);
	}
	
}
